package edu.zju.udms.dnavigator.core.server.servlets;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.log4j.Logger;


@WebServlet("/api/system")
public class ApiSystemServlet extends NavigatorServlet {

	/**
	 * 
	 */
	private static final long serialVersionUID = -1918623631882670497L;
	private static final Logger logger = Logger.getLogger(ApiSystemServlet.class);
	
	protected void doGet(HttpServletRequest req, HttpServletResponse resp)
			throws ServletException, IOException {
		logger.info("GET /api/system"+req.getPathInfo());
	}
	
	protected void doPost(HttpServletRequest req, HttpServletResponse resp)
			throws ServletException, IOException {
		logger.info("POST /api/system");
		
	}
}
